<!DOCTYPE html>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ include file="../core/core.jsp"%>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>参数配置</title>
    <meta name="keywords" content="叮当猫">
    <meta name="description" content="叮当猫">


    <style>
        table.dataTable thead .sorting:after{
            content:'';
        }
    </style>
</head>

<body>

        <div class="wrapper wrapper-content animated fadeInRight" >
            <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>基本 <small>查找，结果</small></h5>
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <a class="dropdown-toggle" data-toggle="dropdown" href="">
                                    <i class="fa fa-wrench"></i>
                                </a>
                                <a class="close-link">
                                    <i class="fa fa-times"></i>
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">

                            <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper form-inline" role="grid"><div class="row" style="margin-bottom: 20px;">
                                <div class="col-sm-10">
                                    <div id="DataTables_Table_0_filter" class="dataTables_filter">
                                        <label style="margin: 0 15px;">参数名：<input type="text" id="configName" class="form-control input-sm" aria-controls="DataTables_Table_0"></label>
                                        <button class="btn btn-primary" style="margin-left: 50px;" id="refer">查询</button>
                                       <%-- <button class="btn btn-primary" style="margin-left: 50px;" id="add">添加</button>--%>
                                        <a data-toggle="modal" data-target="#myModal5" class="btn btn-primary" href="/crm/agentSalesmanC/list#modal-form">添加</a>
                                    </div>
                                </div>
                            </div>
                                <div class="modal inmodal fade" id="myModal4" tabindex="-1" role="dialog"  aria-hidden="true">
                                    <div class="modal-dialog modal-lg">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                                <h4 class="modal-title">编辑参数配置</h4>
                                            </div>
                                            <div class="modal-body">
                                                <div class="form-group"><label>参数名</label> <input type="text" id="editName" placeholder="请输入参数名" class="form-control"></div>
                                                <div class="form-group"><label>参数值</label> <input type="text" id="editValue" placeholder="请输入参数值" class="form-control"></div>
                                                <div class="form-group"><label>备注</label> <input type="text" id="editMemo" placeholder="请输入参数值" class="form-control"></div>
                                            </div>

                                            <div class="modal-footer">
                                                <button type="button" class="btn btn-white" data-dismiss="modal" id="close2">关闭</button>
                                                <button type="button" class="btn btn-primary" id="save2">保存</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <table class="table table-striped table-bordered table-hover dataTables-example dataTable" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
                                    <thead>
                                    <tr role="row">
                                        <th class="sorting_asc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 60px;" aria-sort="ascending">#</th>
                                        <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">参数名</th>
                                        <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">参数值</th>
                                        <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">备注</th>
                                        <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">创建人</th>
                                        <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="width: 300px;">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody id="withdraw-record">
                                    <!--<tr class="gradeA odd">-->
                                    <!--<td class="sorting_1">14</td>-->
                                    <!--<td class=" ">100</td>-->
                                    <!--<td class=" ">2</td>-->
                                    <!--<td class="center ">ky</td>-->
                                    <!--<td class="center ">待审核</td>-->
                                    <!--<td class="sorting_1">15093112512</td>-->
                                    <!--<td class=" ">1</td>-->
                                    <!--<td class=" ">2017-02-01 09:09</td>-->
                                    <!--<td class="center ">z-097967897878978</td>-->
                                    <!--<td class="center ">2017-02-02 10:10</td>-->
                                    <!--</tr>-->
                                    </tbody>
                                </table><div class="row"><div class="col-sm-6"><div class="dataTables_info" id="DataTables_Table_0_info" role="alert" aria-live="polite" aria-relevant="all">共 <span id="record"></span> 项</div></div><div class="col-sm-6"><div class="dataTables_paginate paging_simple_numbers" id="DataTables_Table_0_paginate"><ul class="pagination"><li class="paginate_button previous disabled" aria-controls="DataTables_Table_0" tabindex="0" id="DataTables_Table_0_previous"><a href="#">上一页</a></li><li class="paginate_button active" aria-controls="DataTables_Table_0" tabindex="0"><a href="#">1</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">2</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">3</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">4</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">5</a></li><li class="paginate_button " aria-controls="DataTables_Table_0" tabindex="0"><a href="#">6</a></li><li class="paginate_button next" aria-controls="DataTables_Table_0" tabindex="0" id="DataTables_Table_0_next"><a href="#">下一页</a></li></ul></div></div></div></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="modal inmodal fade" id="myModal5" tabindex="-1" role="dialog"  aria-hidden="true">
            <div class="modal-dialog modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title">添加</h4>
                    </div>
                    <div class="modal-body">
                        <div class="form-group"><label>参数名</label> <input type="text" id="addConfigName" placeholder="请输入参数名" class="form-control"></div>
                        <div class="form-group"><label>参数值</label> <input type="text" id="addConfigValue" placeholder="请输入参数值" class="form-control"></div>
                        <div class="form-group"><label>参数值</label> <input type="text" id="addMemo" placeholder="请输入备注" class="form-control"></div>
                    </div>

                    <div class="modal-footer">
                        <button type="button" class="btn btn-white" data-dismiss="modal" id="close">关闭</button>
                        <button type="button" class="btn btn-primary" id="save">保存</button>
                    </div>
                </div>
            </div>
        </div>
        <script src="../static/js/config/config.js" charset="utf-8"></script>
</body>

</html>
